#pragma once

#include "../message_handler.hpp"
#include <libwebsockets.h>
#include <nlohmann/json.hpp>

/**
 * @class LogoutHandler
 * @brief 登出消息处理器
 * @details 处理用户登出相关的消息
 */
class LogoutHandler : public MessageHandler {
public:
    void handle(struct lws *wsi, const nlohmann::json& data) override;
    std::string getType() const override { return "logout"; }
}; 